
package com.jf.cloud.user.vo;

import com.jf.cloud.common.vo.BaseVO;
import io.swagger.v3.oas.annotations.media.Schema;

import java.util.List;

/**
 * 余额记录VO
 *
 * @author zz
 * @date 2021-04-27 15:51:36
 */
public class UserBalanceLogVO extends BaseVO{
    private static final long serialVersionUID = 1L;

    @Schema()
    private Long balanceLogId;

    @Schema(description = "用户id" )
    private Long userId;

    @Schema(description = "改变金额" )
    private Long changeBalance;

    @Schema(description = "收支类型 0支出 1收入" )
    private Integer ioType;

    @Schema(description = "支付编号(用于余额充值)" )
    private Long payId;

    @Schema(description = "1:充值 2:赠送 3:支付  4:退款 5:平台手动修改" )
    private Integer type;

    @Schema(description = "1:已支付 0:未支付(用于余额充值)" )
    private Integer isPayed;

    @Schema(description = "退款单号" )
    private Long refundId;

    @Schema(description = "订单号列表" )
    private List<Long> orderIds;

    public Long getRefundId() {
        return refundId;
    }

    public void setRefundId(Long refundId) {
        this.refundId = refundId;
    }

    public List<Long> getOrderIds() {
        return orderIds;
    }

    public void setOrderIds(List<Long> orderIds) {
        this.orderIds = orderIds;
    }

    public Long getBalanceLogId() {
        return balanceLogId;
    }

    public void setBalanceLogId(Long balanceLogId) {
        this.balanceLogId = balanceLogId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getChangeBalance() {
        return changeBalance;
    }

    public void setChangeBalance(Long changeBalance) {
        this.changeBalance = changeBalance;
    }

    public Integer getIoType() {
        return ioType;
    }

    public void setIoType(Integer ioType) {
        this.ioType = ioType;
    }

    public Long getPayId() {
        return payId;
    }

    public void setPayId(Long payId) {
        this.payId = payId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getIsPayed() {
        return isPayed;
    }

    public void setIsPayed(Integer isPayed) {
        this.isPayed = isPayed;
    }

    @Override
    public String toString() {
        return "UserBalanceLogVO{" +
                "balanceLogId=" + balanceLogId +
                ", userId=" + userId +
                ", changeBalance=" + changeBalance +
                ", ioType=" + ioType +
                ", payId=" + payId +
                ", type=" + type +
                ", isPayed=" + isPayed +
                ", refundId=" + refundId +
                ", orderIds=" + orderIds +
                '}';
    }
}
